package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "remainingTimes")
public class RemainingTimes {

    private ObjectId id;
    private Long userId;
    private Integer remainingTimes;//不用设置等于10
}
